package com.xdcplus.web.common.pojo.dto.bd;

import com.xdcplus.pager.dto.PageDTO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.Pattern;
import java.io.Serializable;
import java.sql.Timestamp;

/**
 * 工序管理(BdOpe)表查询入参DTO类
 * 
 * @author Fish.Fei
 * @since 2023-02-03 15:09:46
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel(description = "")
@SuppressWarnings("serial")
public class BdOpeFilterDTO extends PageDTO implements Serializable {
    private static final long serialVersionUID = 678575927528034872L;

    @Pattern(regexp = "^[\\w\\s\\u4e00-\\u9fa5]*$",message = "工序代码非法字符")
    @ApiModelProperty("工序代码")
    private String opeCode;

    @ApiModelProperty("工序版本")
    private String opeVer;

    @ApiModelProperty("工序描述")
    private String opeDsc;

    @Pattern(regexp = "^[\\w\\s\\u4e00-\\u9fa5]*$",message = "工序名称非法字符")
    @ApiModelProperty("工序名称")
    private String opeName;

    @ApiModelProperty("站点序列号")
    private Long opeSeqNo;

    @ApiModelProperty("部门代码")
    private Long deptIdFk;

    @ApiModelProperty("设备群组编码")
    private String toolGroupCode;

    @ApiModelProperty("花篮使用类型：制绒湿花篮...")
    private String boxUseCode;

    @ApiModelProperty("主键")
    private Long id;

    @ApiModelProperty("创建人")
    private String createdUser;

    @ApiModelProperty("创建时间")
    private Timestamp createdTime;

    @ApiModelProperty("更新人")
    private String updatedUser;

    @ApiModelProperty("更新时间")
    private Timestamp updatedTime;

    @ApiModelProperty("是否删除")
    private Long deleted;

    @ApiModelProperty("数据版本")
    private Long version;

    @ApiModelProperty("设备组ID")
    private Long toolGroupIdFk;

    @ApiModelProperty("工序段外键")
    private Long opeSubsectionIdFk;

}
